package com.ama.pojo;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import lombok.Data;
import org.apache.tomcat.util.modeler.BaseModelMBean;

/**
 * staff
 * @author 
 */
@Data
public class Staff implements Serializable{
    public Long getEstateId;
    /**
     * 员工号
     */
    @TableId
    private Long staffId;

    /**
     * 员工密码
     */
    private String staffPassword;

    /**
     * 员工姓名
     */
    private String staffName;

    private String gender;

    private String department;

    private Date entrytime;

    private String staffPhone;

    private String education;

    private String identity;

    private String bankcard;

    private String staffAddress;

    private String marriage;

    private String hukou;

    private String family;
    @TableField(strategy= FieldStrategy.IGNORED)
    private Long estateId;
    @TableField(strategy=FieldStrategy.IGNORED)
    private Long buildId;
    @TableField(strategy=FieldStrategy.IGNORED)
    private Long roomId;
    @TableField(strategy=FieldStrategy.IGNORED)
    private Long bedId;
    @TableField(strategy=FieldStrategy.IGNORED)
    private Long applyId;
    @TableField(strategy=FieldStrategy.IGNORED)
    private Long costId;
    @TableField(strategy=FieldStrategy.IGNORED)
    private Long contractId;

    @TableLogic
    private Integer deleted;

    private static final long serialVersionUID = 1L;
}